package com.trade.module.daq.entity;

import com.trade.module.base.entity.BaseEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * Class Description: 表记录实体类
 *
 * @Version v1.0 2017/6/17 12:14
 * @JDK version 1.8.0_51
 * @Author zfb
 */
@Entity
@Table(name = "daq_table_record")
public class TableRecord extends BaseEntity implements Serializable{
    private static final long serialVersionUID = -8663052265788147413L;

    /**
     *目标表名称 tableName
     */
    @Column(
            name = "table_name",
            length = 32
    )
    private String tableName;

    /**
     * 采集量（条)
     */
    @Column(
            name = "collect_Quantity",
            length = 32
    )
    private long collectQuantity;

    /**
     * 执行耗时
     */
    @Column(
            name = "execute_Time",
            length = 32
    )
    private String executeTime;
    /**
     * 目标库的id
     */
    @Column(
            name = "target_source_id",
            length = 64
    )
    private String targetSourceID;

    public String getTableName() {
        return tableName;
    }

    public void setTableName(String tableName) {
        this.tableName = tableName;
    }

    public long getCollectQuantity() {
        return collectQuantity;
    }

    public void setCollectQuantity(long collectQuantity) {
        this.collectQuantity = collectQuantity;
    }

    public String getExecuteTime() {
        return executeTime;
    }

    public void setExecuteTime(String executeTime) {
        this.executeTime = executeTime;
    }

    public String getTargetSourceID() {
        return targetSourceID;
    }

    public void setTargetSourceID(String targetSourceID) {
        this.targetSourceID = targetSourceID;
    }
}
